Change font in Win32::GUI AddListView items
am 14.10.2011 23:03:01 von Ken Cornetet--===============0305550752==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_DF6A68E27C9C734592018E2317E95836070A52045Bnts 532kiikimb_"
--_000_DF6A68E27C9C734592018E2317E95836070A52045Bnts532kiiki mb_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Is it possible to change the font (bold, color,etc) when adding items to a =
Win32::GUI AddListView object?
I've tried passing a font object to no avail
my $fb =3D new Win32::GUI::Font(-name =3D> "Courier New", -height =3D> 10, =
-bold =3D> 0);
$lv->InsertItem(-font =3D> $fb, -item =3D> $i, -text =3D> [" $s", "", "", =
"", "", "", ""]);
There are the TextColor and TextBKColor methods, but they appear to be glob=
al to the whole ListView object.
Ken Cornetet 812.482.8499
To err is human - to moo, bovine.
--_000_DF6A68E27C9C734592018E2317E95836070A52045Bnts532kiiki mb_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
=3D"text/html; charset=3Dus-ascii">
oft Word 14 (filtered medium)">
nk=3Dpurple>
Is it possible t=
o change the font (bold, color,etc) when adding items to a Win32::GUI AddLi=
stView object?
lass=3DMsoNormal>I’ve tried passing a font object to no avail
style=3D'font-family:"Courier New"'>my $fb =3D new Win32::GUI::Font(-name =
=3D> "Courier New", -height =3D> 10, -bold =3D> 0);
ew"'>$lv->InsertItem(-font =3D> $fb, -item =3D> $i, -text =3D> =
[" $s", "", "", "", "&qu=
ot;, "", ""]);
l>
There are the TextColor and Tex=
tBKColor methods, but they appear to be global to the whole ListView object=
..
mal>Ken Cornetet 812.482.8499
To err is =
human - to moo, bovine.
--_000_DF6A68E27C9C734592018E2317E95836070A52045Bnts532kiiki mb_--
--===============0305550752==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0305550752==--